From: Andy Moreton Date: Sat, 16 Sep 2017 13:44:39 +0000 (+0300) Subject: Avoid MinGW64 compiler warnings in unexw32.c X-Git-Tag: archive/raspbian/1%29.2+1-2+rpi1^2~5^2~19^2~6686^2~4 X-Git-Url: https://dgit.raspbian.org/%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:///%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:/?a=commitdiff_plain;h=12e864eb30;p=emacs.git Avoid MinGW64 compiler warnings in unexw32.c * src/unexw32.c (pDWP) [MINGW_W64]: Define to "16llx" only for the 64-bit build. --- diff --git a/src/unexw32.c b/src/unexw32.c index 0c6b48342e5..e97a52ba07a 100644 --- a/src/unexw32.c +++ b/src/unexw32.c @@ -471,7 +471,7 @@ get_section_info (file_data *p_infile) } /* Format to print a DWORD_PTR value. */ -#ifdef MINGW_W64 +#if defined MINGW_W64 && defined _WIN64 # define pDWP "16llx" #else # define pDWP "08lx"